var crypto  = require('crypto')
,   core    = require("core")
,   db      = core.db
,   schema  = db.schema;


var POST = function(req, res, next){
    var body = req.body
    ,   name = body.name;
    
    res.session({user: name});
    res.redirect("/admin/index");
};

module.exports = POST;
